package org.meteorshower.system_depart.dao;

import org.meteorshower.system_depart.entity.Role;

import java.util.List;

public interface IRole {
    Role getById(Integer id);
    Role getByName(String name);
    List<Role> getAll();
    Integer insert(Role role);
    Integer update(Role role);
    Integer deleteById(Integer id);
}
